package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商铺管理对象 tb_shop
 * 
 * @author ruoyi
 * @date 2025-06-09
 */
public class TbShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 商铺名称 */
    @Excel(name = "商铺名称")
    private String name;

    /** 商铺类型的id */
    @Excel(name = "商铺类型的id")
    private String typeId;

    /** 商铺图片 */
    @Excel(name = "商铺图片")
    private String images;

    /** 地区 */
    @Excel(name = "地区")
    private String area;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 均价 */
    @Excel(name = "均价")
    private String avgPrice;

    /** 销量 */
    @Excel(name = "销量")
    private Integer sold;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Integer comments;

    /** 评分 */
    @Excel(name = "评分")
    private Integer score;

    /** 营业时间，例如 10:00-22:00 */
    @Excel(name = "营业时间，例如 10:00-22:00")
    private String openHours;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 逻辑删除，0：正常 1：已删除 */
    @Excel(name = "逻辑删除，0：正常 1：已删除")
    private Long isDeleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setAvgPrice(String avgPrice) 
    {
        this.avgPrice = avgPrice;
    }

    public String getAvgPrice() 
    {
        return avgPrice;
    }

    public void setSold(Integer sold) 
    {
        this.sold = sold;
    }

    public Integer getSold() 
    {
        return sold;
    }

    public void setComments(Integer comments) 
    {
        this.comments = comments;
    }

    public Integer getComments() 
    {
        return comments;
    }

    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }

    public void setOpenHours(String openHours) 
    {
        this.openHours = openHours;
    }

    public String getOpenHours() 
    {
        return openHours;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("images", getImages())
            .append("area", getArea())
            .append("address", getAddress())
            .append("avgPrice", getAvgPrice())
            .append("sold", getSold())
            .append("comments", getComments())
            .append("score", getScore())
            .append("openHours", getOpenHours())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
